package com.api.volunteer.controller;

import com.api.volunteer.model.UserEntity;
import com.api.volunteer.repository.UserRepository;
import com.api.volunteer.util.Result;
import com.api.volunteer.vo.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 邹宇杰
 * @email 2901570623@qq.com
 * @date 2022/3/30 20:26
 */
@RestController
public class UserController {

    @Autowired
    UserRepository userRepository;

    @PostMapping("/saveUser")
    public Result save(@RequestBody UserVo userVo){
        return new Result();
    }
}
